package com.common.config;

import com.common.util.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ggy
 * date:2022/6/30
 */
@Configuration
public class IdWorkerBean {
    @Bean
    public IdWorker idWorker(){
        IdWorker idWorker = new IdWorker(0, 0);
        return idWorker;
    }
}
